// 用户相关接口
import { request } from "@/utils";

function loginApi(formData) {
  return request({
    url: '/authorizations',
    method: 'POST',
    data: formData,
  })
}

function getProfileApi() {
  return request({
    url: '/user/profile',
    method: 'GET',
  })
}

export {
  loginApi,
  getProfileApi
}
